package rlyy.framework.core.common.response;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.SerializerFeature;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class ResponseResult<T> {

    @JSONField(name = "$sso")
    private String sso;
    @JSONField(name = "$tid")
    private String tid;
    @JSONField(name = "$status")
    private String status;
    @JSONField(name = "$msg")
    private String msg;
    @JSONField(name = "err_cod")
    private String code;
    @JSONField(name = "_data_", serialzeFeatures = SerializerFeature.WriteMapNullValue)
    private T data;
    @JSONField(name = "_$file_")
    private Object file;

}
